<?php

inc_class("xml");

class xsl
{

    var $document;

    var $docs;

    var $_templates;

    var $_position = null;

    var $_current_node_set = null;

    function __construct(&$doc)
    {
        /*$this->document &= $doc;
        $this->docs = array ();
        $this->templates = array ();*/
    }

    function setCurrentNodeSet(&$nodeSet)
    {
    }

    function &getCurrentNodeSet()
    {
    }

    function &getCurrentNode()
    {
        return $this->getCurrentNodeSet()->item($this->getPosition()-1);
    }

    function getPosition()
    {
        return $this->_position;
    }

    function process()
    {
    }

    static function getPatternPriority(&$pattern)
    {
        //$explode();
        return 0;
    }

}

?>